#{extends 'main.html' /} #{set title:'Home' /} #{form
@Application.saveQuestion(question.id) }

<div>
	&{'edit.form.lable.question'}<br>
	<textarea name="formquestion" cols="50" rows="10">${question.question}</textarea>
</div>
<div>
	&{'edit.form.lable.rightanswer'} <br> <input type="text"
		name="formanswer" value="${question.rightAnswer}" size="60" />
</div>
<div>
	&{'edit.form.lable.wronganswer1'} <br> <input type="text"
		name="formwrong1" value="${question.wrongAnswer1}" size="60" />
</div>
<div>
	&{'edit.form.lable.wronganswer2'} <br> <input type="text"
		name="formwrong2" value="${question.wrongAnswer2}" size="60" />
</div>
<div>
	&{'edit.form.lable.tag'} <br> <input type="text" name="formtag"
		value="${question.tag}" size="30" />
</div>
<br>
<input type="submit" value="&{'edit.link.backandsave'}" />
<br>
<br>
#{/form}
<a href="@{Application.deleteQuestion(question.id)}">&{'edit.link.backanddelete'}</a>